3.217 \(\int \frac{\csc (c+d x)}{(a-b \sin ^4(c+d x))^2} \, dx\)

Optimal. Leaf size=325 \[ -\frac{\sqrt [4]{b} \tan ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{2 a^2 d \sqrt{\sqrt{a}-\sqrt{b}}}-\frac{\sqrt [4]{b} \tan ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{8 a^{3/2} d \left (\sqrt{a}-\sqrt{b}\right )^{3/2}}+\frac{\sqrt [4]{b} \tanh ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{2 a^2 d \sqrt{\sqrt{a}+\sqrt{b}}}+\frac{\sqrt [4]{b} \tanh ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{8 a^{3/2} d \left (\sqrt{a}+\sqrt{b}\right )^{3/2}}-\frac{\tanh ^{-1}(\cos (c+d x))}{a^2 d}-\frac{b \cos (c+d x) \left (2-\cos ^2(c+d x)\right )}{4 a d (a-b) \left (a-b \cos ^4(c+d x)+2 b \cos ^2(c+d x)-b\right )} \]

[Out]

-(b^(1/4)*ArcTan[(b^(1/4)*Cos[c + d*x])/Sqrt[Sqrt[a] - Sqrt[b]]])/(8*a^(3/2)*(Sqrt[a] - Sqrt[b])^(3/2)*d) - (b
^(1/4)*ArcTan[(b^(1/4)*Cos[c + d*x])/Sqrt[Sqrt[a] - Sqrt[b]]])/(2*a^2*Sqrt[Sqrt[a] - Sqrt[b]]*d) - ArcTanh[Cos
[c + d*x]]/(a^2*d) + (b^(1/4)*ArcTanh[(b^(1/4)*Cos[c + d*x])/Sqrt[Sqrt[a] + Sqrt[b]]])/(8*a^(3/2)*(Sqrt[a] + S
qrt[b])^(3/2)*d) + (b^(1/4)*ArcTanh[(b^(1/4)*Cos[c + d*x])/Sqrt[Sqrt[a] + Sqrt[b]]])/(2*a^2*Sqrt[Sqrt[a] + Sqr
t[b]]*d) - (b*Cos[c + d*x]*(2 - Cos[c + d*x]^2))/(4*a*(a - b)*d*(a - b + 2*b*Cos[c + d*x]^2 - b*Cos[c + d*x]^4
))

________________________________________________________________________________________

Rubi [A]  time = 0.335504, antiderivative size = 325, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 7, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.318, Rules used = {3215, 1238, 207, 1178, 1166, 205, 208} \[ -\frac{\sqrt [4]{b} \tan ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{2 a^2 d \sqrt{\sqrt{a}-\sqrt{b}}}-\frac{\sqrt [4]{b} \tan ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{8 a^{3/2} d \left (\sqrt{a}-\sqrt{b}\right )^{3/2}}+\frac{\sqrt [4]{b} \tanh ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{2 a^2 d \sqrt{\sqrt{a}+\sqrt{b}}}+\frac{\sqrt [4]{b} \tanh ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{8 a^{3/2} d \left (\sqrt{a}+\sqrt{b}\right )^{3/2}}-\frac{\tanh ^{-1}(\cos (c+d x))}{a^2 d}-\frac{b \cos (c+d x) \left (2-\cos ^2(c+d x)\right )}{4 a d (a-b) \left (a-b \cos ^4(c+d x)+2 b \cos ^2(c+d x)-b\right )} \]

Antiderivative was successfully verified.

[In]

Int[Csc[c + d*x]/(a - b*Sin[c + d*x]^4)^2,x]

[Out]

-(b^(1/4)*ArcTan[(b^(1/4)*Cos[c + d*x])/Sqrt[Sqrt[a] - Sqrt[b]]])/(8*a^(3/2)*(Sqrt[a] - Sqrt[b])^(3/2)*d) - (b
^(1/4)*ArcTan[(b^(1/4)*Cos[c + d*x])/Sqrt[Sqrt[a] - Sqrt[b]]])/(2*a^2*Sqrt[Sqrt[a] - Sqrt[b]]*d) - ArcTanh[Cos
[c + d*x]]/(a^2*d) + (b^(1/4)*ArcTanh[(b^(1/4)*Cos[c + d*x])/Sqrt[Sqrt[a] + Sqrt[b]]])/(8*a^(3/2)*(Sqrt[a] + S
qrt[b])^(3/2)*d) + (b^(1/4)*ArcTanh[(b^(1/4)*Cos[c + d*x])/Sqrt[Sqrt[a] + Sqrt[b]]])/(2*a^2*Sqrt[Sqrt[a] + Sqr
t[b]]*d) - (b*Cos[c + d*x]*(2 - Cos[c + d*x]^2))/(4*a*(a - b)*d*(a - b + 2*b*Cos[c + d*x]^2 - b*Cos[c + d*x]^4
))

Rule 3215

Int[sin[(e_.) + (f_.)*(x_)]^(m_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^4)^(p_.), x_Symbol] :> With[{ff = Free
Factors[Cos[e + f*x], x]}, -Dist[ff/f, Subst[Int[(1 - ff^2*x^2)^((m - 1)/2)*(a + b - 2*b*ff^2*x^2 + b*ff^4*x^4
)^p, x], x, Cos[e + f*x]/ff], x]] /; FreeQ[{a, b, e, f, p}, x] && IntegerQ[(m - 1)/2]

Rule 1238

Int[((d_) + (e_.)*(x_)^2)^(q_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Int[ExpandIntegrand[(d
+ e*x^2)^q*(a + b*x^2 + c*x^4)^p, x], x] /; FreeQ[{a, b, c, d, e, p, q}, x] && NeQ[b^2 - 4*a*c, 0] && ((Intege
rQ[p] && IntegerQ[q]) || IGtQ[p, 0] || IGtQ[q, 0])

Rule 207

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTanh[(Rt[b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && NegQ[a/b] && (LtQ[a, 0] || GtQ[b, 0])

Rule 1178

Int[((d_) + (e_.)*(x_)^2)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Simp[(x*(a*b*e - d*(b^2 - 2*
a*c) - c*(b*d - 2*a*e)*x^2)*(a + b*x^2 + c*x^4)^(p + 1))/(2*a*(p + 1)*(b^2 - 4*a*c)), x] + Dist[1/(2*a*(p + 1)
*(b^2 - 4*a*c)), Int[Simp[(2*p + 3)*d*b^2 - a*b*e - 2*a*c*d*(4*p + 5) + (4*p + 7)*(d*b - 2*a*e)*c*x^2, x]*(a +
 b*x^2 + c*x^4)^(p + 1), x], x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e
^2, 0] && LtQ[p, -1] && IntegerQ[2*p]

Rule 1166

Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Di
st[e/2 + (2*c*d - b*e)/(2*q), Int[1/(b/2 - q/2 + c*x^2), x], x] + Dist[e/2 - (2*c*d - b*e)/(2*q), Int[1/(b/2 +
 q/2 + c*x^2), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[b^
2 - 4*a*c]

Rule 205

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]*ArcTan[x/Rt[a/b, 2]])/a, x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 208

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-(a/b), 2]*ArcTanh[x/Rt[-(a/b), 2]])/a, x] /; FreeQ[{a,
b}, x] && NegQ[a/b]

Rubi steps

\begin{align*} \int \frac{\csc (c+d x)}{\left (a-b \sin ^4(c+d x)\right )^2} \, dx &=-\frac{\operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right ) \left (a-b+2 b x^2-b x^4\right )^2} \, dx,x,\cos (c+d x)\right )}{d}\\ &=-\frac{\operatorname{Subst}\left (\int \left (-\frac{1}{a^2 \left (-1+x^2\right )}+\frac{b-b x^2}{a \left (a-b+2 b x^2-b x^4\right )^2}+\frac{b-b x^2}{a^2 \left (a-b+2 b x^2-b x^4\right )}\right ) \, dx,x,\cos (c+d x)\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{1}{-1+x^2} \, dx,x,\cos (c+d x)\right )}{a^2 d}-\frac{\operatorname{Subst}\left (\int \frac{b-b x^2}{a-b+2 b x^2-b x^4} \, dx,x,\cos (c+d x)\right )}{a^2 d}-\frac{\operatorname{Subst}\left (\int \frac{b-b x^2}{\left (a-b+2 b x^2-b x^4\right )^2} \, dx,x,\cos (c+d x)\right )}{a d}\\ &=-\frac{\tanh ^{-1}(\cos (c+d x))}{a^2 d}-\frac{b \cos (c+d x) \left (2-\cos ^2(c+d x)\right )}{4 a (a-b) d \left (a-b+2 b \cos ^2(c+d x)-b \cos ^4(c+d x)\right )}+\frac{\operatorname{Subst}\left (\int \frac{-4 a b^2+2 a b^2 x^2}{a-b+2 b x^2-b x^4} \, dx,x,\cos (c+d x)\right )}{8 a^2 (a-b) b d}+\frac{b \operatorname{Subst}\left (\int \frac{1}{-\sqrt{a} \sqrt{b}+b-b x^2} \, dx,x,\cos (c+d x)\right )}{2 a^2 d}+\frac{b \operatorname{Subst}\left (\int \frac{1}{\sqrt{a} \sqrt{b}+b-b x^2} \, dx,x,\cos (c+d x)\right )}{2 a^2 d}\\ &=-\frac{\sqrt [4]{b} \tan ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{2 a^2 \sqrt{\sqrt{a}-\sqrt{b}} d}-\frac{\tanh ^{-1}(\cos (c+d x))}{a^2 d}+\frac{\sqrt [4]{b} \tanh ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{2 a^2 \sqrt{\sqrt{a}+\sqrt{b}} d}-\frac{b \cos (c+d x) \left (2-\cos ^2(c+d x)\right )}{4 a (a-b) d \left (a-b+2 b \cos ^2(c+d x)-b \cos ^4(c+d x)\right )}+\frac{b \operatorname{Subst}\left (\int \frac{1}{-\sqrt{a} \sqrt{b}+b-b x^2} \, dx,x,\cos (c+d x)\right )}{8 a^{3/2} \left (\sqrt{a}-\sqrt{b}\right ) d}+\frac{b \operatorname{Subst}\left (\int \frac{1}{\sqrt{a} \sqrt{b}+b-b x^2} \, dx,x,\cos (c+d x)\right )}{8 a^{3/2} \left (\sqrt{a}+\sqrt{b}\right ) d}\\ &=-\frac{\sqrt [4]{b} \tan ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{8 a^{3/2} \left (\sqrt{a}-\sqrt{b}\right )^{3/2} d}-\frac{\sqrt [4]{b} \tan ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{2 a^2 \sqrt{\sqrt{a}-\sqrt{b}} d}-\frac{\tanh ^{-1}(\cos (c+d x))}{a^2 d}+\frac{\sqrt [4]{b} \tanh ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{8 a^{3/2} \left (\sqrt{a}+\sqrt{b}\right )^{3/2} d}+\frac{\sqrt [4]{b} \tanh ^{-1}\left (\frac{\sqrt [4]{b} \cos (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{2 a^2 \sqrt{\sqrt{a}+\sqrt{b}} d}-\frac{b \cos (c+d x) \left (2-\cos ^2(c+d x)\right )}{4 a (a-b) d \left (a-b+2 b \cos ^2(c+d x)-b \cos ^4(c+d x)\right )}\\ \end{align*}

Mathematica [C]  time = 0.831079, size = 600, normalized size = 1.85 \[ \frac{-\frac{i b \text{RootSum}\left [-16 \text{$\#$1}^4 a+\text{$\#$1}^8 b-4 \text{$\#$1}^6 b+6 \text{$\#$1}^4 b-4 \text{$\#$1}^2 b+b\& ,\frac{-5 i \text{$\#$1}^6 a \log \left (\text{$\#$1}^2-2 \text{$\#$1} \cos (c+d x)+1\right )+19 i \text{$\#$1}^4 a \log \left (\text{$\#$1}^2-2 \text{$\#$1} \cos (c+d x)+1\right )-19 i \text{$\#$1}^2 a \log \left (\text{$\#$1}^2-2 \text{$\#$1} \cos (c+d x)+1\right )+5 i a \log \left (\text{$\#$1}^2-2 \text{$\#$1} \cos (c+d x)+1\right )+10 \text{$\#$1}^6 a \tan ^{-1}\left (\frac{\sin (c+d x)}{\cos (c+d x)-\text{$\#$1}}\right )-38 \text{$\#$1}^4 a \tan ^{-1}\left (\frac{\sin (c+d x)}{\cos (c+d x)-\text{$\#$1}}\right )+38 \text{$\#$1}^2 a \tan ^{-1}\left (\frac{\sin (c+d x)}{\cos (c+d x)-\text{$\#$1}}\right )+4 i \text{$\#$1}^6 b \log \left (\text{$\#$1}^2-2 \text{$\#$1} \cos (c+d x)+1\right )-12 i \text{$\#$1}^4 b \log \left (\text{$\#$1}^2-2 \text{$\#$1} \cos (c+d x)+1\right )+12 i \text{$\#$1}^2 b \log \left (\text{$\#$1}^2-2 \text{$\#$1} \cos (c+d x)+1\right )-4 i b \log \left (\text{$\#$1}^2-2 \text{$\#$1} \cos (c+d x)+1\right )-8 \text{$\#$1}^6 b \tan ^{-1}\left (\frac{\sin (c+d x)}{\cos (c+d x)-\text{$\#$1}}\right )+24 \text{$\#$1}^4 b \tan ^{-1}\left (\frac{\sin (c+d x)}{\cos (c+d x)-\text{$\#$1}}\right )-24 \text{$\#$1}^2 b \tan ^{-1}\left (\frac{\sin (c+d x)}{\cos (c+d x)-\text{$\#$1}}\right )-10 a \tan ^{-1}\left (\frac{\sin (c+d x)}{\cos (c+d x)-\text{$\#$1}}\right )+8 b \tan ^{-1}\left (\frac{\sin (c+d x)}{\cos (c+d x)-\text{$\#$1}}\right )}{-8 \text{$\#$1}^3 a+\text{$\#$1}^7 b-3 \text{$\#$1}^5 b+3 \text{$\#$1}^3 b-\text{$\#$1} b}\& \right ]}{a-b}+\frac{16 a b (\cos (3 (c+d x))-5 \cos (c+d x))}{(a-b) (8 a+4 b \cos (2 (c+d x))-b \cos (4 (c+d x))-3 b)}+32 \log \left (\sin \left (\frac{1}{2} (c+d x)\right )\right )-32 \log \left (\cos \left (\frac{1}{2} (c+d x)\right )\right )}{32 a^2 d} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[Csc[c + d*x]/(a - b*Sin[c + d*x]^4)^2,x]

[Out]

((16*a*b*(-5*Cos[c + d*x] + Cos[3*(c + d*x)]))/((a - b)*(8*a - 3*b + 4*b*Cos[2*(c + d*x)] - b*Cos[4*(c + d*x)]
)) - 32*Log[Cos[(c + d*x)/2]] + 32*Log[Sin[(c + d*x)/2]] - (I*b*RootSum[b - 4*b*#1^2 - 16*a*#1^4 + 6*b*#1^4 -
4*b*#1^6 + b*#1^8 & , (-10*a*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)] + 8*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x]
- #1)] + (5*I)*a*Log[1 - 2*Cos[c + d*x]*#1 + #1^2] - (4*I)*b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2] + 38*a*ArcTan[S
in[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 - 24*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 - (19*I)*a*Log[1 -
2*Cos[c + d*x]*#1 + #1^2]*#1^2 + (12*I)*b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^2 - 38*a*ArcTan[Sin[c + d*x]/(C
os[c + d*x] - #1)]*#1^4 + 24*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^4 + (19*I)*a*Log[1 - 2*Cos[c + d*x]
*#1 + #1^2]*#1^4 - (12*I)*b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^4 + 10*a*ArcTan[Sin[c + d*x]/(Cos[c + d*x] -
#1)]*#1^6 - 8*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^6 - (5*I)*a*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^6
 + (4*I)*b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^6)/(-(b*#1) - 8*a*#1^3 + 3*b*#1^3 - 3*b*#1^5 + b*#1^7) & ])/(a
 - b))/(32*a^2*d)

________________________________________________________________________________________

Maple [A]  time = 0.147, size = 450, normalized size = 1.4 \begin{align*}{\frac{\ln \left ( -1+\cos \left ( dx+c \right ) \right ) }{2\,{a}^{2}d}}-{\frac{\ln \left ( 1+\cos \left ( dx+c \right ) \right ) }{2\,{a}^{2}d}}-{\frac{b \left ( \cos \left ( dx+c \right ) \right ) ^{3}}{4\,da \left ( b \left ( \cos \left ( dx+c \right ) \right ) ^{4}-2\,b \left ( \cos \left ( dx+c \right ) \right ) ^{2}-a+b \right ) \left ( a-b \right ) }}+{\frac{b\cos \left ( dx+c \right ) }{2\,da \left ( b \left ( \cos \left ( dx+c \right ) \right ) ^{4}-2\,b \left ( \cos \left ( dx+c \right ) \right ) ^{2}-a+b \right ) \left ( a-b \right ) }}-{\frac{5\,b}{8\,da \left ( a-b \right ) }\arctan \left ({b\cos \left ( dx+c \right ){\frac{1}{\sqrt{ \left ( \sqrt{ab}-b \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( \sqrt{ab}-b \right ) b}}}}+{\frac{{b}^{2}}{2\,{a}^{2}d \left ( a-b \right ) }\arctan \left ({b\cos \left ( dx+c \right ){\frac{1}{\sqrt{ \left ( \sqrt{ab}-b \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( \sqrt{ab}-b \right ) b}}}}-{\frac{{b}^{2}}{8\,da \left ( a-b \right ) }\arctan \left ({b\cos \left ( dx+c \right ){\frac{1}{\sqrt{ \left ( \sqrt{ab}-b \right ) b}}}} \right ){\frac{1}{\sqrt{ab}}}{\frac{1}{\sqrt{ \left ( \sqrt{ab}-b \right ) b}}}}+{\frac{5\,b}{8\,da \left ( a-b \right ) }{\it Artanh} \left ({b\cos \left ( dx+c \right ){\frac{1}{\sqrt{ \left ( \sqrt{ab}+b \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( \sqrt{ab}+b \right ) b}}}}-{\frac{{b}^{2}}{2\,{a}^{2}d \left ( a-b \right ) }{\it Artanh} \left ({b\cos \left ( dx+c \right ){\frac{1}{\sqrt{ \left ( \sqrt{ab}+b \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( \sqrt{ab}+b \right ) b}}}}-{\frac{{b}^{2}}{8\,da \left ( a-b \right ) }{\it Artanh} \left ({b\cos \left ( dx+c \right ){\frac{1}{\sqrt{ \left ( \sqrt{ab}+b \right ) b}}}} \right ){\frac{1}{\sqrt{ab}}}{\frac{1}{\sqrt{ \left ( \sqrt{ab}+b \right ) b}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(csc(d*x+c)/(a-b*sin(d*x+c)^4)^2,x)

[Out]

1/2/d/a^2*ln(-1+cos(d*x+c))-1/2/d/a^2*ln(1+cos(d*x+c))-1/4/d*b/a/(b*cos(d*x+c)^4-2*b*cos(d*x+c)^2-a+b)/(a-b)*c
os(d*x+c)^3+1/2/d*b/a/(b*cos(d*x+c)^4-2*b*cos(d*x+c)^2-a+b)/(a-b)*cos(d*x+c)-5/8/d*b/a/(a-b)/(((a*b)^(1/2)-b)*
b)^(1/2)*arctan(cos(d*x+c)*b/(((a*b)^(1/2)-b)*b)^(1/2))+1/2/d*b^2/a^2/(a-b)/(((a*b)^(1/2)-b)*b)^(1/2)*arctan(c
os(d*x+c)*b/(((a*b)^(1/2)-b)*b)^(1/2))-1/8/d*b^2/(a*b)^(1/2)/a/(a-b)/(((a*b)^(1/2)-b)*b)^(1/2)*arctan(cos(d*x+
c)*b/(((a*b)^(1/2)-b)*b)^(1/2))+5/8/d*b/a/(a-b)/(((a*b)^(1/2)+b)*b)^(1/2)*arctanh(cos(d*x+c)*b/(((a*b)^(1/2)+b
)*b)^(1/2))-1/2/d*b^2/a^2/(a-b)/(((a*b)^(1/2)+b)*b)^(1/2)*arctanh(cos(d*x+c)*b/(((a*b)^(1/2)+b)*b)^(1/2))-1/8/
d*b^2/(a*b)^(1/2)/a/(a-b)/(((a*b)^(1/2)+b)*b)^(1/2)*arctanh(cos(d*x+c)*b/(((a*b)^(1/2)+b)*b)^(1/2))

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(d*x+c)/(a-b*sin(d*x+c)^4)^2,x, algorithm="maxima")

[Out]

1/2*(4*a*b^2*cos(2*d*x + 2*c)*cos(d*x + c) - 20*a*b^2*sin(3*d*x + 3*c)*sin(2*d*x + 2*c) + 4*a*b^2*sin(2*d*x +
2*c)*sin(d*x + c) - a*b^2*cos(d*x + c) - (a*b^2*cos(7*d*x + 7*c) - 5*a*b^2*cos(5*d*x + 5*c) - 5*a*b^2*cos(3*d*
x + 3*c) + a*b^2*cos(d*x + c))*cos(8*d*x + 8*c) + (4*a*b^2*cos(6*d*x + 6*c) + 4*a*b^2*cos(2*d*x + 2*c) - a*b^2
 + 2*(8*a^2*b - 3*a*b^2)*cos(4*d*x + 4*c))*cos(7*d*x + 7*c) - 4*(5*a*b^2*cos(5*d*x + 5*c) + 5*a*b^2*cos(3*d*x
+ 3*c) - a*b^2*cos(d*x + c))*cos(6*d*x + 6*c) - 5*(4*a*b^2*cos(2*d*x + 2*c) - a*b^2 + 2*(8*a^2*b - 3*a*b^2)*co
s(4*d*x + 4*c))*cos(5*d*x + 5*c) - 2*(5*(8*a^2*b - 3*a*b^2)*cos(3*d*x + 3*c) - (8*a^2*b - 3*a*b^2)*cos(d*x + c
))*cos(4*d*x + 4*c) - 5*(4*a*b^2*cos(2*d*x + 2*c) - a*b^2)*cos(3*d*x + 3*c) - 2*((a^3*b^2 - a^2*b^3)*d*cos(8*d
*x + 8*c)^2 + 16*(a^3*b^2 - a^2*b^3)*d*cos(6*d*x + 6*c)^2 + 4*(64*a^5 - 112*a^4*b + 57*a^3*b^2 - 9*a^2*b^3)*d*
cos(4*d*x + 4*c)^2 + 16*(a^3*b^2 - a^2*b^3)*d*cos(2*d*x + 2*c)^2 + (a^3*b^2 - a^2*b^3)*d*sin(8*d*x + 8*c)^2 +
16*(a^3*b^2 - a^2*b^3)*d*sin(6*d*x + 6*c)^2 + 4*(64*a^5 - 112*a^4*b + 57*a^3*b^2 - 9*a^2*b^3)*d*sin(4*d*x + 4*
c)^2 + 16*(8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*d*sin(4*d*x + 4*c)*sin(2*d*x + 2*c) + 16*(a^3*b^2 - a^2*b^3)*d*si
n(2*d*x + 2*c)^2 - 8*(a^3*b^2 - a^2*b^3)*d*cos(2*d*x + 2*c) + (a^3*b^2 - a^2*b^3)*d - 2*(4*(a^3*b^2 - a^2*b^3)
*d*cos(6*d*x + 6*c) + 2*(8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*d*cos(4*d*x + 4*c) + 4*(a^3*b^2 - a^2*b^3)*d*cos(2*
d*x + 2*c) - (a^3*b^2 - a^2*b^3)*d)*cos(8*d*x + 8*c) + 8*(2*(8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*d*cos(4*d*x + 4
*c) + 4*(a^3*b^2 - a^2*b^3)*d*cos(2*d*x + 2*c) - (a^3*b^2 - a^2*b^3)*d)*cos(6*d*x + 6*c) + 4*(4*(8*a^4*b - 11*
a^3*b^2 + 3*a^2*b^3)*d*cos(2*d*x + 2*c) - (8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*d)*cos(4*d*x + 4*c) - 4*(2*(a^3*b
^2 - a^2*b^3)*d*sin(6*d*x + 6*c) + (8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*d*sin(4*d*x + 4*c) + 2*(a^3*b^2 - a^2*b^
3)*d*sin(2*d*x + 2*c))*sin(8*d*x + 8*c) + 16*((8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*d*sin(4*d*x + 4*c) + 2*(a^3*b
^2 - a^2*b^3)*d*sin(2*d*x + 2*c))*sin(6*d*x + 6*c))*integrate(-1/2*(4*(19*a*b^2 - 12*b^3)*cos(3*d*x + 3*c)*sin
(2*d*x + 2*c) - 4*(5*a*b^2 - 4*b^3)*cos(d*x + c)*sin(2*d*x + 2*c) + 4*(5*a*b^2 - 4*b^3)*cos(2*d*x + 2*c)*sin(d
*x + c) + ((5*a*b^2 - 4*b^3)*sin(7*d*x + 7*c) - (19*a*b^2 - 12*b^3)*sin(5*d*x + 5*c) + (19*a*b^2 - 12*b^3)*sin
(3*d*x + 3*c) - (5*a*b^2 - 4*b^3)*sin(d*x + c))*cos(8*d*x + 8*c) + 2*(2*(5*a*b^2 - 4*b^3)*sin(6*d*x + 6*c) + (
40*a^2*b - 47*a*b^2 + 12*b^3)*sin(4*d*x + 4*c) + 2*(5*a*b^2 - 4*b^3)*sin(2*d*x + 2*c))*cos(7*d*x + 7*c) + 4*((
19*a*b^2 - 12*b^3)*sin(5*d*x + 5*c) - (19*a*b^2 - 12*b^3)*sin(3*d*x + 3*c) + (5*a*b^2 - 4*b^3)*sin(d*x + c))*c
os(6*d*x + 6*c) - 2*((152*a^2*b - 153*a*b^2 + 36*b^3)*sin(4*d*x + 4*c) + 2*(19*a*b^2 - 12*b^3)*sin(2*d*x + 2*c
))*cos(5*d*x + 5*c) - 2*((152*a^2*b - 153*a*b^2 + 36*b^3)*sin(3*d*x + 3*c) - (40*a^2*b - 47*a*b^2 + 12*b^3)*si
n(d*x + c))*cos(4*d*x + 4*c) - ((5*a*b^2 - 4*b^3)*cos(7*d*x + 7*c) - (19*a*b^2 - 12*b^3)*cos(5*d*x + 5*c) + (1
9*a*b^2 - 12*b^3)*cos(3*d*x + 3*c) - (5*a*b^2 - 4*b^3)*cos(d*x + c))*sin(8*d*x + 8*c) + (5*a*b^2 - 4*b^3 - 4*(
5*a*b^2 - 4*b^3)*cos(6*d*x + 6*c) - 2*(40*a^2*b - 47*a*b^2 + 12*b^3)*cos(4*d*x + 4*c) - 4*(5*a*b^2 - 4*b^3)*co
s(2*d*x + 2*c))*sin(7*d*x + 7*c) - 4*((19*a*b^2 - 12*b^3)*cos(5*d*x + 5*c) - (19*a*b^2 - 12*b^3)*cos(3*d*x + 3
*c) + (5*a*b^2 - 4*b^3)*cos(d*x + c))*sin(6*d*x + 6*c) - (19*a*b^2 - 12*b^3 - 2*(152*a^2*b - 153*a*b^2 + 36*b^
3)*cos(4*d*x + 4*c) - 4*(19*a*b^2 - 12*b^3)*cos(2*d*x + 2*c))*sin(5*d*x + 5*c) + 2*((152*a^2*b - 153*a*b^2 + 3
6*b^3)*cos(3*d*x + 3*c) - (40*a^2*b - 47*a*b^2 + 12*b^3)*cos(d*x + c))*sin(4*d*x + 4*c) + (19*a*b^2 - 12*b^3 -
 4*(19*a*b^2 - 12*b^3)*cos(2*d*x + 2*c))*sin(3*d*x + 3*c) - (5*a*b^2 - 4*b^3)*sin(d*x + c))/(a^3*b^2 - a^2*b^3
 + (a^3*b^2 - a^2*b^3)*cos(8*d*x + 8*c)^2 + 16*(a^3*b^2 - a^2*b^3)*cos(6*d*x + 6*c)^2 + 4*(64*a^5 - 112*a^4*b
+ 57*a^3*b^2 - 9*a^2*b^3)*cos(4*d*x + 4*c)^2 + 16*(a^3*b^2 - a^2*b^3)*cos(2*d*x + 2*c)^2 + (a^3*b^2 - a^2*b^3)
*sin(8*d*x + 8*c)^2 + 16*(a^3*b^2 - a^2*b^3)*sin(6*d*x + 6*c)^2 + 4*(64*a^5 - 112*a^4*b + 57*a^3*b^2 - 9*a^2*b
^3)*sin(4*d*x + 4*c)^2 + 16*(8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*sin(4*d*x + 4*c)*sin(2*d*x + 2*c) + 16*(a^3*b^2
 - a^2*b^3)*sin(2*d*x + 2*c)^2 + 2*(a^3*b^2 - a^2*b^3 - 4*(a^3*b^2 - a^2*b^3)*cos(6*d*x + 6*c) - 2*(8*a^4*b -
11*a^3*b^2 + 3*a^2*b^3)*cos(4*d*x + 4*c) - 4*(a^3*b^2 - a^2*b^3)*cos(2*d*x + 2*c))*cos(8*d*x + 8*c) - 8*(a^3*b
^2 - a^2*b^3 - 2*(8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*cos(4*d*x + 4*c) - 4*(a^3*b^2 - a^2*b^3)*cos(2*d*x + 2*c))
*cos(6*d*x + 6*c) - 4*(8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3 - 4*(8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*cos(2*d*x + 2*c
))*cos(4*d*x + 4*c) - 8*(a^3*b^2 - a^2*b^3)*cos(2*d*x + 2*c) - 4*(2*(a^3*b^2 - a^2*b^3)*sin(6*d*x + 6*c) + (8*
a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*sin(4*d*x + 4*c) + 2*(a^3*b^2 - a^2*b^3)*sin(2*d*x + 2*c))*sin(8*d*x + 8*c) +
16*((8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*sin(4*d*x + 4*c) + 2*(a^3*b^2 - a^2*b^3)*sin(2*d*x + 2*c))*sin(6*d*x +
6*c)), x) - (a*b^2 - b^3 + (a*b^2 - b^3)*cos(8*d*x + 8*c)^2 + 16*(a*b^2 - b^3)*cos(6*d*x + 6*c)^2 + 4*(64*a^3
- 112*a^2*b + 57*a*b^2 - 9*b^3)*cos(4*d*x + 4*c)^2 + 16*(a*b^2 - b^3)*cos(2*d*x + 2*c)^2 + (a*b^2 - b^3)*sin(8
*d*x + 8*c)^2 + 16*(a*b^2 - b^3)*sin(6*d*x + 6*c)^2 + 4*(64*a^3 - 112*a^2*b + 57*a*b^2 - 9*b^3)*sin(4*d*x + 4*
c)^2 + 16*(8*a^2*b - 11*a*b^2 + 3*b^3)*sin(4*d*x + 4*c)*sin(2*d*x + 2*c) + 16*(a*b^2 - b^3)*sin(2*d*x + 2*c)^2
 + 2*(a*b^2 - b^3 - 4*(a*b^2 - b^3)*cos(6*d*x + 6*c) - 2*(8*a^2*b - 11*a*b^2 + 3*b^3)*cos(4*d*x + 4*c) - 4*(a*
b^2 - b^3)*cos(2*d*x + 2*c))*cos(8*d*x + 8*c) - 8*(a*b^2 - b^3 - 2*(8*a^2*b - 11*a*b^2 + 3*b^3)*cos(4*d*x + 4*
c) - 4*(a*b^2 - b^3)*cos(2*d*x + 2*c))*cos(6*d*x + 6*c) - 4*(8*a^2*b - 11*a*b^2 + 3*b^3 - 4*(8*a^2*b - 11*a*b^
2 + 3*b^3)*cos(2*d*x + 2*c))*cos(4*d*x + 4*c) - 8*(a*b^2 - b^3)*cos(2*d*x + 2*c) - 4*(2*(a*b^2 - b^3)*sin(6*d*
x + 6*c) + (8*a^2*b - 11*a*b^2 + 3*b^3)*sin(4*d*x + 4*c) + 2*(a*b^2 - b^3)*sin(2*d*x + 2*c))*sin(8*d*x + 8*c)
+ 16*((8*a^2*b - 11*a*b^2 + 3*b^3)*sin(4*d*x + 4*c) + 2*(a*b^2 - b^3)*sin(2*d*x + 2*c))*sin(6*d*x + 6*c))*log(
cos(d*x)^2 + 2*cos(d*x)*cos(c) + cos(c)^2 + sin(d*x)^2 - 2*sin(d*x)*sin(c) + sin(c)^2) + (a*b^2 - b^3 + (a*b^2
 - b^3)*cos(8*d*x + 8*c)^2 + 16*(a*b^2 - b^3)*cos(6*d*x + 6*c)^2 + 4*(64*a^3 - 112*a^2*b + 57*a*b^2 - 9*b^3)*c
os(4*d*x + 4*c)^2 + 16*(a*b^2 - b^3)*cos(2*d*x + 2*c)^2 + (a*b^2 - b^3)*sin(8*d*x + 8*c)^2 + 16*(a*b^2 - b^3)*
sin(6*d*x + 6*c)^2 + 4*(64*a^3 - 112*a^2*b + 57*a*b^2 - 9*b^3)*sin(4*d*x + 4*c)^2 + 16*(8*a^2*b - 11*a*b^2 + 3
*b^3)*sin(4*d*x + 4*c)*sin(2*d*x + 2*c) + 16*(a*b^2 - b^3)*sin(2*d*x + 2*c)^2 + 2*(a*b^2 - b^3 - 4*(a*b^2 - b^
3)*cos(6*d*x + 6*c) - 2*(8*a^2*b - 11*a*b^2 + 3*b^3)*cos(4*d*x + 4*c) - 4*(a*b^2 - b^3)*cos(2*d*x + 2*c))*cos(
8*d*x + 8*c) - 8*(a*b^2 - b^3 - 2*(8*a^2*b - 11*a*b^2 + 3*b^3)*cos(4*d*x + 4*c) - 4*(a*b^2 - b^3)*cos(2*d*x +
2*c))*cos(6*d*x + 6*c) - 4*(8*a^2*b - 11*a*b^2 + 3*b^3 - 4*(8*a^2*b - 11*a*b^2 + 3*b^3)*cos(2*d*x + 2*c))*cos(
4*d*x + 4*c) - 8*(a*b^2 - b^3)*cos(2*d*x + 2*c) - 4*(2*(a*b^2 - b^3)*sin(6*d*x + 6*c) + (8*a^2*b - 11*a*b^2 +
3*b^3)*sin(4*d*x + 4*c) + 2*(a*b^2 - b^3)*sin(2*d*x + 2*c))*sin(8*d*x + 8*c) + 16*((8*a^2*b - 11*a*b^2 + 3*b^3
)*sin(4*d*x + 4*c) + 2*(a*b^2 - b^3)*sin(2*d*x + 2*c))*sin(6*d*x + 6*c))*log(cos(d*x)^2 - 2*cos(d*x)*cos(c) +
cos(c)^2 + sin(d*x)^2 + 2*sin(d*x)*sin(c) + sin(c)^2) - (a*b^2*sin(7*d*x + 7*c) - 5*a*b^2*sin(5*d*x + 5*c) - 5
*a*b^2*sin(3*d*x + 3*c) + a*b^2*sin(d*x + c))*sin(8*d*x + 8*c) + 2*(2*a*b^2*sin(6*d*x + 6*c) + 2*a*b^2*sin(2*d
*x + 2*c) + (8*a^2*b - 3*a*b^2)*sin(4*d*x + 4*c))*sin(7*d*x + 7*c) - 4*(5*a*b^2*sin(5*d*x + 5*c) + 5*a*b^2*sin
(3*d*x + 3*c) - a*b^2*sin(d*x + c))*sin(6*d*x + 6*c) - 10*(2*a*b^2*sin(2*d*x + 2*c) + (8*a^2*b - 3*a*b^2)*sin(
4*d*x + 4*c))*sin(5*d*x + 5*c) - 2*(5*(8*a^2*b - 3*a*b^2)*sin(3*d*x + 3*c) - (8*a^2*b - 3*a*b^2)*sin(d*x + c))
*sin(4*d*x + 4*c))/((a^3*b^2 - a^2*b^3)*d*cos(8*d*x + 8*c)^2 + 16*(a^3*b^2 - a^2*b^3)*d*cos(6*d*x + 6*c)^2 + 4
*(64*a^5 - 112*a^4*b + 57*a^3*b^2 - 9*a^2*b^3)*d*cos(4*d*x + 4*c)^2 + 16*(a^3*b^2 - a^2*b^3)*d*cos(2*d*x + 2*c
)^2 + (a^3*b^2 - a^2*b^3)*d*sin(8*d*x + 8*c)^2 + 16*(a^3*b^2 - a^2*b^3)*d*sin(6*d*x + 6*c)^2 + 4*(64*a^5 - 112
*a^4*b + 57*a^3*b^2 - 9*a^2*b^3)*d*sin(4*d*x + 4*c)^2 + 16*(8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*d*sin(4*d*x + 4*
c)*sin(2*d*x + 2*c) + 16*(a^3*b^2 - a^2*b^3)*d*sin(2*d*x + 2*c)^2 - 8*(a^3*b^2 - a^2*b^3)*d*cos(2*d*x + 2*c) +
 (a^3*b^2 - a^2*b^3)*d - 2*(4*(a^3*b^2 - a^2*b^3)*d*cos(6*d*x + 6*c) + 2*(8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*d*
cos(4*d*x + 4*c) + 4*(a^3*b^2 - a^2*b^3)*d*cos(2*d*x + 2*c) - (a^3*b^2 - a^2*b^3)*d)*cos(8*d*x + 8*c) + 8*(2*(
8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*d*cos(4*d*x + 4*c) + 4*(a^3*b^2 - a^2*b^3)*d*cos(2*d*x + 2*c) - (a^3*b^2 - a
^2*b^3)*d)*cos(6*d*x + 6*c) + 4*(4*(8*a^4*b - 11*a^3*b^2 + 3*a^2*b^3)*d*cos(2*d*x + 2*c) - (8*a^4*b - 11*a^3*b
^2 + 3*a^2*b^3)*d)*cos(4*d*x + 4*c) - 4*(2*(a^3*b^2 - a^2*b^3)*d*sin(6*d*x + 6*c) + (8*a^4*b - 11*a^3*b^2 + 3*
a^2*b^3)*d*sin(4*d*x + 4*c) + 2*(a^3*b^2 - a^2*b^3)*d*sin(2*d*x + 2*c))*sin(8*d*x + 8*c) + 16*((8*a^4*b - 11*a
^3*b^2 + 3*a^2*b^3)*d*sin(4*d*x + 4*c) + 2*(a^3*b^2 - a^2*b^3)*d*sin(2*d*x + 2*c))*sin(6*d*x + 6*c))

________________________________________________________________________________________

Fricas [B]  time = 9.26515, size = 6010, normalized size = 18.49 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(d*x+c)/(a-b*sin(d*x+c)^4)^2,x, algorithm="fricas")

[Out]

-1/16*(4*a*b*cos(d*x + c)^3 - 8*a*b*cos(d*x + c) + ((a^3*b - a^2*b^2)*d*cos(d*x + c)^4 - 2*(a^3*b - a^2*b^2)*d
*cos(d*x + c)^2 - (a^4 - 2*a^3*b + a^2*b^2)*d)*sqrt(-((a^7 - 3*a^6*b + 3*a^5*b^2 - a^4*b^3)*d^2*sqrt((625*a^4*
b - 1450*a^3*b^2 + 1241*a^2*b^3 - 464*a*b^4 + 64*b^5)/((a^13 - 6*a^12*b + 15*a^11*b^2 - 20*a^10*b^3 + 15*a^9*b
^4 - 6*a^8*b^5 + a^7*b^6)*d^4)) + 35*a^2*b - 47*a*b^2 + 16*b^3)/((a^7 - 3*a^6*b + 3*a^5*b^2 - a^4*b^3)*d^2))*l
og((625*a^3*b - 1125*a^2*b^2 + 664*a*b^3 - 128*b^4)*cos(d*x + c) + ((5*a^10 - 18*a^9*b + 24*a^8*b^2 - 14*a^7*b
^3 + 3*a^6*b^4)*d^3*sqrt((625*a^4*b - 1450*a^3*b^2 + 1241*a^2*b^3 - 464*a*b^4 + 64*b^5)/((a^13 - 6*a^12*b + 15
*a^11*b^2 - 20*a^10*b^3 + 15*a^9*b^4 - 6*a^8*b^5 + a^7*b^6)*d^4)) - 2*(75*a^5*b - 137*a^4*b^2 + 82*a^3*b^3 - 1
6*a^2*b^4)*d)*sqrt(-((a^7 - 3*a^6*b + 3*a^5*b^2 - a^4*b^3)*d^2*sqrt((625*a^4*b - 1450*a^3*b^2 + 1241*a^2*b^3 -
 464*a*b^4 + 64*b^5)/((a^13 - 6*a^12*b + 15*a^11*b^2 - 20*a^10*b^3 + 15*a^9*b^4 - 6*a^8*b^5 + a^7*b^6)*d^4)) +
 35*a^2*b - 47*a*b^2 + 16*b^3)/((a^7 - 3*a^6*b + 3*a^5*b^2 - a^4*b^3)*d^2))) - ((a^3*b - a^2*b^2)*d*cos(d*x +
c)^4 - 2*(a^3*b - a^2*b^2)*d*cos(d*x + c)^2 - (a^4 - 2*a^3*b + a^2*b^2)*d)*sqrt(((a^7 - 3*a^6*b + 3*a^5*b^2 -
a^4*b^3)*d^2*sqrt((625*a^4*b - 1450*a^3*b^2 + 1241*a^2*b^3 - 464*a*b^4 + 64*b^5)/((a^13 - 6*a^12*b + 15*a^11*b
^2 - 20*a^10*b^3 + 15*a^9*b^4 - 6*a^8*b^5 + a^7*b^6)*d^4)) - 35*a^2*b + 47*a*b^2 - 16*b^3)/((a^7 - 3*a^6*b + 3
*a^5*b^2 - a^4*b^3)*d^2))*log((625*a^3*b - 1125*a^2*b^2 + 664*a*b^3 - 128*b^4)*cos(d*x + c) + ((5*a^10 - 18*a^
9*b + 24*a^8*b^2 - 14*a^7*b^3 + 3*a^6*b^4)*d^3*sqrt((625*a^4*b - 1450*a^3*b^2 + 1241*a^2*b^3 - 464*a*b^4 + 64*
b^5)/((a^13 - 6*a^12*b + 15*a^11*b^2 - 20*a^10*b^3 + 15*a^9*b^4 - 6*a^8*b^5 + a^7*b^6)*d^4)) + 2*(75*a^5*b - 1
37*a^4*b^2 + 82*a^3*b^3 - 16*a^2*b^4)*d)*sqrt(((a^7 - 3*a^6*b + 3*a^5*b^2 - a^4*b^3)*d^2*sqrt((625*a^4*b - 145
0*a^3*b^2 + 1241*a^2*b^3 - 464*a*b^4 + 64*b^5)/((a^13 - 6*a^12*b + 15*a^11*b^2 - 20*a^10*b^3 + 15*a^9*b^4 - 6*
a^8*b^5 + a^7*b^6)*d^4)) - 35*a^2*b + 47*a*b^2 - 16*b^3)/((a^7 - 3*a^6*b + 3*a^5*b^2 - a^4*b^3)*d^2))) - ((a^3
*b - a^2*b^2)*d*cos(d*x + c)^4 - 2*(a^3*b - a^2*b^2)*d*cos(d*x + c)^2 - (a^4 - 2*a^3*b + a^2*b^2)*d)*sqrt(-((a
^7 - 3*a^6*b + 3*a^5*b^2 - a^4*b^3)*d^2*sqrt((625*a^4*b - 1450*a^3*b^2 + 1241*a^2*b^3 - 464*a*b^4 + 64*b^5)/((
a^13 - 6*a^12*b + 15*a^11*b^2 - 20*a^10*b^3 + 15*a^9*b^4 - 6*a^8*b^5 + a^7*b^6)*d^4)) + 35*a^2*b - 47*a*b^2 +
16*b^3)/((a^7 - 3*a^6*b + 3*a^5*b^2 - a^4*b^3)*d^2))*log(-(625*a^3*b - 1125*a^2*b^2 + 664*a*b^3 - 128*b^4)*cos
(d*x + c) + ((5*a^10 - 18*a^9*b + 24*a^8*b^2 - 14*a^7*b^3 + 3*a^6*b^4)*d^3*sqrt((625*a^4*b - 1450*a^3*b^2 + 12
41*a^2*b^3 - 464*a*b^4 + 64*b^5)/((a^13 - 6*a^12*b + 15*a^11*b^2 - 20*a^10*b^3 + 15*a^9*b^4 - 6*a^8*b^5 + a^7*
b^6)*d^4)) - 2*(75*a^5*b - 137*a^4*b^2 + 82*a^3*b^3 - 16*a^2*b^4)*d)*sqrt(-((a^7 - 3*a^6*b + 3*a^5*b^2 - a^4*b
^3)*d^2*sqrt((625*a^4*b - 1450*a^3*b^2 + 1241*a^2*b^3 - 464*a*b^4 + 64*b^5)/((a^13 - 6*a^12*b + 15*a^11*b^2 -
20*a^10*b^3 + 15*a^9*b^4 - 6*a^8*b^5 + a^7*b^6)*d^4)) + 35*a^2*b - 47*a*b^2 + 16*b^3)/((a^7 - 3*a^6*b + 3*a^5*
b^2 - a^4*b^3)*d^2))) + ((a^3*b - a^2*b^2)*d*cos(d*x + c)^4 - 2*(a^3*b - a^2*b^2)*d*cos(d*x + c)^2 - (a^4 - 2*
a^3*b + a^2*b^2)*d)*sqrt(((a^7 - 3*a^6*b + 3*a^5*b^2 - a^4*b^3)*d^2*sqrt((625*a^4*b - 1450*a^3*b^2 + 1241*a^2*
b^3 - 464*a*b^4 + 64*b^5)/((a^13 - 6*a^12*b + 15*a^11*b^2 - 20*a^10*b^3 + 15*a^9*b^4 - 6*a^8*b^5 + a^7*b^6)*d^
4)) - 35*a^2*b + 47*a*b^2 - 16*b^3)/((a^7 - 3*a^6*b + 3*a^5*b^2 - a^4*b^3)*d^2))*log(-(625*a^3*b - 1125*a^2*b^
2 + 664*a*b^3 - 128*b^4)*cos(d*x + c) + ((5*a^10 - 18*a^9*b + 24*a^8*b^2 - 14*a^7*b^3 + 3*a^6*b^4)*d^3*sqrt((6
25*a^4*b - 1450*a^3*b^2 + 1241*a^2*b^3 - 464*a*b^4 + 64*b^5)/((a^13 - 6*a^12*b + 15*a^11*b^2 - 20*a^10*b^3 + 1
5*a^9*b^4 - 6*a^8*b^5 + a^7*b^6)*d^4)) + 2*(75*a^5*b - 137*a^4*b^2 + 82*a^3*b^3 - 16*a^2*b^4)*d)*sqrt(((a^7 -
3*a^6*b + 3*a^5*b^2 - a^4*b^3)*d^2*sqrt((625*a^4*b - 1450*a^3*b^2 + 1241*a^2*b^3 - 464*a*b^4 + 64*b^5)/((a^13
- 6*a^12*b + 15*a^11*b^2 - 20*a^10*b^3 + 15*a^9*b^4 - 6*a^8*b^5 + a^7*b^6)*d^4)) - 35*a^2*b + 47*a*b^2 - 16*b^
3)/((a^7 - 3*a^6*b + 3*a^5*b^2 - a^4*b^3)*d^2))) + 8*((a*b - b^2)*cos(d*x + c)^4 - 2*(a*b - b^2)*cos(d*x + c)^
2 - a^2 + 2*a*b - b^2)*log(1/2*cos(d*x + c) + 1/2) - 8*((a*b - b^2)*cos(d*x + c)^4 - 2*(a*b - b^2)*cos(d*x + c
)^2 - a^2 + 2*a*b - b^2)*log(-1/2*cos(d*x + c) + 1/2))/((a^3*b - a^2*b^2)*d*cos(d*x + c)^4 - 2*(a^3*b - a^2*b^
2)*d*cos(d*x + c)^2 - (a^4 - 2*a^3*b + a^2*b^2)*d)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(d*x+c)/(a-b*sin(d*x+c)**4)**2,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: NotImplementedError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(d*x+c)/(a-b*sin(d*x+c)^4)^2,x, algorithm="giac")

[Out]

Exception raised: NotImplementedError